var API_URL = (function () {
    var url = 'http://qidongcms.cst-info.cn/';
    // var url = 'http://192.168.3.100/';
    //  var url = 'http://10.2.11.145:8080/cms/';    //真实环境
    //  var imgurl = 'http://10.2.11.145:8080/cms/'  //真实环境
    // console.log('11231311515155')
    // 10.64.105.3
    var apiUrl = {
       "imgURL": url,                         //测试环境图片地址
        // "imgURL": imgurl,                        //真实环境图片地址
        //数据请求接口统一前缀
        //'baseURL': url + "api/v2/",
        'baseURL': url + "api/v2/",
        //图片接口统一前缀,无更改
        'loginURL': url,
        'WXUrl': 'http://qidongcms.cst-info.cn/',
        // 'WXUrl': 'http://192.168.3.100/',
        //文章详情微信二维码
        'WXUrlDetail':'http://qidongwx.cst-info.cn/#/textDetail',
        //点单活动详情微信二维码
        'WXActivityUrlDetail':'http://qidongwx.cst-info.cn/#/order/activityDetail',
        //点单活动详情微信二维码
        'WXServeUrlDetail':'http://qidongwx.cst-info.cn/#/serve/activityDetail',
        /*自定义接口配置*/
        //文章，资讯列表 && 视频列表   参数传cid
        //报名二维码
        'erweima':url,
        'getArticleList': 'article/articleList',
        //活动列表  
        'getActivityList': 'activity/activityList',
        //活动报名
        'join': 'activity/join',
        //获取超市列表
        'getShop': 'goods/goodsList',
        //获取文章详情   传id
        'getArticle': 'article',
        //获取活动详情  传id
        'getActivity': 'activity/index',
        //获取栏目列表
        'getCateGory': 'category/childCategory',
        //志愿者招募
        'volunteerGroupList':'volunteer/volunteerGroupList',
        //申请志愿者
        'beVolunteer':'volunteer/becomeVolunteer',
        //志愿者招募详情
        'volunteerGroup':'volunteer/volunteerGroup',
        //志愿服务 之 技能共享
        'getShareList':'share/shareList',

        //积分明细
        'integralLog':'user/integralLog',
        //芝麻一点能获取列表
        getCate:'cate/childCate',
        //求助列表
        'getHelpList':'help/appealList',
        //求助详情
        'getHelp':'help/index',
        //我的兑换记录
        'duihuanRecord':'Record/log',
        //确定兑换
        'duihuan':'record/index',
        //点单列表
        'orderList':'order/orderList',
        //点单详情
        'assistDetail':'assist/assist',
        //团队被点单列表
        'assistLogList':'assist/assistLogList',
        //一键点单
        'dianDan':'assist/appeal',
        //点赞
        'dianzan':'article/like',
        //活动点赞
        'activityLike':'activity/like',
        //收藏
        'collection':'article/collection',
        //我的收藏
        'getMyCollection':'article/collectionList',
        //我的活动
        'getMyActivity':'activity/myActivityList',
        //我的求助
        'getMyHelp':'share/mySeekHelpList',
        //我的帮助
        'getMyAssist':'share/myshareList',
        //我的团队
        'getMyTeam':'volunteer/myVolunteerList',
        //实践所
        'getArea':'area/areaList',
        //实践所详情
        'suoAreaInfo': 'area/areaInfo',
        //帮扶墙
        'getHelpWall':'help/helpWall',
        //点单详情
        'orderDetail': 'order/detail',
        //百姓点单微信扫描分享
        'wxshareDD':'http://qidongwx.cst-info.cn/#/center/personOrderDetail/',
        //百姓点单确认按钮
        'orderSure': 'order/index',
        //发布求助
        'appeal':'help/appeal'
        
    }
    return apiUrl
}())